package com.example.chcrm.service;

import com.example.chcrm.entity.common.EssRoleMenu;
import com.example.chcrm.entity.common.ResponseMsg;
import com.example.chcrm.entity.employee.EmployeeVo;
import org.apache.xmlbeans.impl.xb.xsdschema.Public;

import java.util.List;

/**
 * @Author 邹
 * @Date 2025/4/30 11:38
 * @Version 1.0
 */
public interface EssRoleMenuService<T> {

    ResponseMsg<List<Object>> seAllMenu(EmployeeVo empVo);

    public List<Object> getMenuByRoleId(String roleId);

    /**
     * 删除角色菜单关系
     * @param
     * @return
     */
    void deletesRoleMenuById(String[] roleId);

    void setRoleResource(List<EssRoleMenu> list);
}
